/*******************************************************************************
 * Copyright (c) 2012-2013 Contributors to the Eclipse Foundation
 *
 * See the NOTICE file(s) distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0, or the Apache Software License 2.0
 * which is available at https://www.apache.org/licenses/LICENSE-2.0.
 *
 * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
 *******************************************************************************/

/** This CSS is shared between the Winery Repository and the Winery Topology Modeler **/

.informationbox {
    position: absolute;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    z-index: 99;
}

.informationbox > .alert {
    background: #fff1a8;
    border: 1px solid #999;
    border-top: 0;
    border-radius: 0 0 3px 3px;
    display: inline-block;
    line-height: 21px;
    padding: 0 12px;
}

/* when hovering over the text, the cursor should stay as is */
.ui-pnotify {
    cursor: default;
}

/* change pnotify's container to be always at the top of the window */
div.ui-pnotify-history-container {
    position: fixed;
}

/* enable pnotify notifications to wrap correctly */
.ui-pnotify-text {
    overflow: hidden;
    overflow-wrap: break-word;
}

.button {
    cursor: pointer;
}

td.editable {
    cursor: text;
}

td {
    cursor: default;
}

.input-xxlarge {
    width: 510px;
}

.spinner {
    text-align: right;
}

/* enables stacked modal dialogs */
div.z1051 {
    z-index: 1051;
}

/* used for showing the full notification at PNotify */
div.z1060 {
    z-index: 1060;
}

/* fixes bootstrap margin problem at horizontal form */
.form-horizontal > div.control-group > label.control-label {
    margin-right: 10px;
}

/* used by artifactcreationdialog.tag */
div.unknown {
    color: gray;
}

div.unknown:before {
    content: '?';
}

div.invalid {
    color: red;
}

div#artifactTemplateNameIsValid {
    height: 19px;
}

div.valid {
    color: green;
}

#diagmessagemsg {
    text-overflow: ellipsis;
    overflow: hidden;
}

textarea.properties_xml {
    display: none
}

/** properties **/

span.properties_element {
    display: none;
}

span.properties_type {
    display: none
}

div.form-group-grouping {
    background: #F0F0F0;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

div.orionxmleditordiv {
    height: 300px;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite;
}

.smallLoader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 25px;
    height: 25px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.right {
    float: right;
}

.pointer {
    cursor: pointer;
}

div.dmp-line-compare {
    width: auto !important;
}
